package com.diankangwo.dto;

import com.diankangwo.util.LoadPropertyUtil;

import java.util.Properties;

public class PayConfigurationDTO {
    Properties prop = LoadPropertyUtil.loadProperty("beecloudPay.properties");
    public String appID = prop.get("appId").toString();
    public String appSecret = prop.get("appSecret").toString();
    public String MasterSecret = prop.get("MasterSecret").toString();
    public String TestSecret = prop.get("TestSecret").toString();
    // 支付回调地址
    public String aliWebReturnUrl = prop.getProperty("aliWebReturnUrl");
    public String aliWapReturnUrl = prop.getProperty("aliWapReturnUrl");
    public String unWebReturnUrl = prop.getProperty("unWebReturnUrl");
    public String unWapReturnUrl = prop.getProperty("unWapReturnUrl");

    public String getAppID() {
        return appID;
    }

    public void setAppID(String appID) {
        this.appID = appID;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getMasterSecret() {
        return MasterSecret;
    }

    public void setMasterSecret(String masterSecret) {
        MasterSecret = masterSecret;
    }

    public String getTestSecret() {
        return TestSecret;
    }

    public void setTestSecret(String testSecret) {
        TestSecret = testSecret;
    }

    public String getAliWebReturnUrl() {
        return aliWebReturnUrl;
    }

    public void setAliWebReturnUrl(String aliWebReturnUrl) {
        this.aliWebReturnUrl = aliWebReturnUrl;
    }

    public String getAliWapReturnUrl() {
        return aliWapReturnUrl;
    }

    public void setAliWapReturnUrl(String aliWapReturnUrl) {
        this.aliWapReturnUrl = aliWapReturnUrl;
    }

    public String getUnWebReturnUrl() {
        return unWebReturnUrl;
    }

    public void setUnWebReturnUrl(String unWebReturnUrl) {
        this.unWebReturnUrl = unWebReturnUrl;
    }

    public String getUnWapReturnUrl() {
        return unWapReturnUrl;
    }

    public void setUnWapReturnUrl(String unWapReturnUrl) {
        this.unWapReturnUrl = unWapReturnUrl;
    }
}
